package com.jqb.hibernatebbs.pojo;

import java.io.Serializable;

/***
 * pojo 1.需要一个无参构造(hibernate用于反射) 2.一个与业务逻辑无关的id(唯一标识对象,也是表的主键)
 * 
 * @author Dong
 * 
 */
public class Bbsuser implements Serializable {

	private static final long serialVersionUID = 1L;

	private int id;
	private String name;
	private String password;
	private String grade;

	public Bbsuser() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

}
